package com.hisense.ovcloud.ps.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "threadpool")
@Configuration
@Data
public class WorkPoolProperties {
    private int kafkaPoolCap = 10;
    private int kafkaPoolQueuelength = 10000;
    private int redisReaderPoolCap = 500;
    private int redisReaderQueuelength = 10000;
    private int redisWriterPoolCap = 500;
    private int redisWriterQueuelength = 10000;
    private int asyncOperatePoolCap = 1000;
    private int asyncOperateQueuelength = 20000;
}
